Android iptables custom scripts. Code and rules taken from Mike Kuketz (https://kuketz-blog.de).

Currently there are problems with the draft files. If you deactivate afwall+ all chains and policies get flushed by default rules of afwall+. If you have activated the "iptables_off.sh" script in your custom scripts all rules and policies are flushed completely. If you then reactivate afwall+ with custom scripts enabled (iptables_on.sh) the ruleset afwall+ ships by default is not implemented correctly. Maybe your custom scripts are not applied properly, too. After afwall+ is reactivated again there is no internet connection available. A reboot is the only solution. During the reboot there are no iptables rules set so afwall+ can apply the default ones and the custom script on a green field.
